<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
	<title>Untitled</title>
</head>

<body>
<pre>
<form enctype="multipart/form-data" action="upload.php" method="post" name="formb">
<input type="hidden" name="MAX_FILE_SIZE" value="100000">
Send this file: <input name="userfile" type="file">
<input type="submit" value="Send File">
</form>

<hr>
<?
echo $_FILES['userfile']['name'];
echo " The original name of the file on the client machine. <br>";

echo $_FILES['userfile']['type'];
echo ' The mime type of the file, if the browser provided this information. An example would be "image/gif". <br>';

echo $_FILES['userfile']['size'];
echo ' The size, in bytes, of the uploaded file. <br>';

echo $_FILES['userfile']['tmp_name'];
echo ' The temporary filename of the file in which the uploaded file was stored on the server. <br>';

echo $_FILES['userfile']['error'];
echo ' Error<br>';
?>
</pre>

</body>
</html>
